package com.example.springkotlin

//import org.mybatis.spring.annotation.MapperScan
import org.mybatis.spring.annotation.MapperScan
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.context.properties.ConfigurationPropertiesScan
import org.springframework.boot.runApplication
import org.springframework.cache.annotation.EnableCaching
import org.springframework.context.annotation.ComponentScan

@SpringBootApplication
@EnableCaching
@ConfigurationPropertiesScan
@MapperScan("com.example.springkotlin.mybatis")
@ComponentScan("com.example.springkotlin.uploadpic","com.example.springkotlin.mybatis")
class SpringKotlinApplication

fun main(args: Array<String>) {
	runApplication<SpringKotlinApplication>(*args)
}
